package net.jforum.timerTask;

import net.jforum.repository.SummaryRepository;

import org.apache.log4j.Logger;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.StatefulJob;

/**
 * @ author  张洋 jackson.zhang@ericsson.com
 * @ version 创建时间 ：Oct 9, 2010  3:20:03 PM
 * @ description : 
 */
public class SummaryWeeklyTopicsByViewsJob implements StatefulJob{

	private static Logger logger = Logger.getLogger(SummaryWeeklyTopicsByViewsJob.class);
	public void execute(JobExecutionContext context) throws JobExecutionException {
		if(logger.isDebugEnabled()){
			logger.debug("start job SummaryWeeklyTopicsByViewsJob......");
		}
		SummaryRepository.loadWeeklyTopicsByViewsByLimit();
	}

}
